home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Communication / NewsBase / Source / IZIntPair.m < prev    next >
Text File  |  1993-01-12  |  508b  |  42 lines

  1.  
  2. /* Generated by Interface Builder */
  3.  
  4. #import "IZIntPair.h"
  5. #import <stdio.h>
  6.  
  7. @implementation IZIntPair
  8.  
  9. - setFirst:(int)kfirst last:(int)klast
  10. {
  11.     first = kfirst;
  12.     last = klast;
  13.     if (first > last) {
  14.     fprintf(stderr,"warning: first \"%d\" > last \"%d\"\n", first, last);
  15.     }
  16.     return self;
  17. }
  18.  
  19. - setFirst:(int)kfirst
  20. {
  21.     first = kfirst;
  22.     return self;
  23. }
  24.  
  25. - (int)first
  26. {
  27.     return first;
  28. }
  29.  
  30. - setLast:(int)klast
  31. {
  32.     last = klast;
  33.     return self;
  34. }
  35.  
  36. - (int)last
  37. {
  38.     return last;
  39. }
  40.  
  41. @end
  42.